import 'package:flutter_taotaoshipin/http/request/pay_config_list_request.dart';
import 'package:flutter_taotaoshipin/model/base_entity.dart';
import 'package:flutter_taotaoshipin/model/pay_config_list_entity.dart';
import 'package:hi_net/hi_net.dart';

class PayDao {
  /// 支付模板
  static Future<BaseEntity<PayConfigListEntity>> configList() async {
    var request = PayConfigListRequest();
    request.add('osName', 'ios');
    var result = await HiNet.getInstance().fire(request);
    return BaseEntity<PayConfigListEntity>.fromJson(result);
  }
}
